package com.aliyun.heiyu.powermaster.server.rotary.dao;

import com.aliyun.heiyu.powermaster.server.rotary.object.entity.PduDataDynEntity;
import com.aliyun.heiyu.powermaster.server.rotary.object.entity.PduDataElectricEntity;

import java.util.List;
import java.util.Map;

/**
 * @Description pdu接口
 * @Author shun.zhang
 * @Date 2020/9/11 16:44
 **/
public interface PduDAO {
    /**
     * 获取pdu设备
     * @return
     */
    List<Map<String, String>> getPdus();

    /**
     * 获取pdu支路功率
     * @param deviceId
     * @return
     */
    List<PduDataDynEntity> getPowerListByDeviceId(String deviceId);

    /**
     * 获取pdu支路电流
     * @param deviceId
     * @return
     */
    List<PduDataElectricEntity> getElectricListByDeviceId(String deviceId);

    /**
     * 获取pdu设备
     * @param deviceId
     * @return
     */
    Map<String, String> getPduByDeviceId(String deviceId);


}
